Note that Process is prefixed by Link, so Process objects can be inserted in a Simset-list.
Link class Process;
begin
Boolean procedure Idle; ...;
Boolean procedure Terminated; ...;
long real procedure EvTime; ...;
ref(Process) procedure NextEv; ...;
Detach;
inner; Note!
TERMINATED := true;
Passivate;
Error("Attempt to activate terminated process");
end;
-- part contents for card part 1
----- text -----
Note: do NOT use Detach, Call or Resume on a process object. It will almost certainly interfere with class Simulation's own sequencing,with chaos as result